/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.chapter5.designpatters.structuralpattern.decoraterpattern.decoraterimpl;

import za.ac.cput.chapter5.designpatters.structuralpattern.decoraterpattern.decoraterinterface.Animal;

/**
 *
 * @author Sakhe
 */
public class WingDecorator extends AnimalDecorator{
    
       public WingDecorator(Animal animal){
        super(animal);
       }
        @Override
        public void describe(){
        animal.describe();
        System.out.println(" I have wings .");
        fly();
        }
        public void fly (){
        System.out.println(" I can f l y .");
        }
}
